//
//  savereadCell.m
//  Cup
//
//  Created by dllo on 15/4/30.
//  Copyright (c) 2015年 doll. All rights reserved.
//

#import "savereadCell.h"

@implementation savereadCell
- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.readimage = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, self.contentView.frame.size.width, self.contentView.frame.size.width)];
        self.readimage.backgroundColor = [UIColor clearColor];
        [self.contentView addSubview:self.readimage];
        [_readimage release];
        
        self.namelabel = [[UILabel alloc] initWithFrame:CGRectMake(0, self.contentView.frame.size.height - 15, self.contentView.frame.size.width, 15)];
        self.namelabel.font = [UIFont systemFontOfSize:12];
        [self.contentView addSubview:self.namelabel];
        [_namelabel release];
        
        self.deleteimage = [[UIImageView alloc] initWithFrame:CGRectMake(self.readimage.frame.size.width - 20 , 0, 20, 20)];
        [self.contentView addSubview:self.deleteimage];
        [self.deleteimage release];
    }
    return self;
}
@end
